package net.ojbk.study.curriculumDesign.beans.cilentservicer;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: twobox
 * Date: 2019/1/7
 * Time: 15:47
 * Description: No Description
 */
public class  ChatMessage {
    private String uid;
    private String value;
    private Date time;
    /**
     * 1 普通消息 2 图片消息
     */
    private int type;

    public ChatMessage() {
    }

    public ChatMessage(String uid, String value, Date time, int type) {
        this.uid = uid;
        this.value = value;
        this.time = time;
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
